<?php  
use \app\common\services\UrlService;
?>

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<!-- Set render engine for 360 browser -->
	<meta name="renderer" content="webkit">
	<title>曹杰微信图书商城</title>
	<link href="/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="/css/m/css_style.css" rel="stylesheet">
<link href="/css/m/app.css?ver=20170401" rel="stylesheet">
<script src="/plugins/jquery-2.1.1.js"></script>
<script src="/js/m/common.js"></script>
<script src="/plugins/layer/layer.js"></script>
<script src="/js/m/product/info.js"></script>
</head>
<body>
<div style="min-height: 500px;">
	<div class="pro_tab clearfix">
    <span>图书详情</span>
</div>
<div class="proban">
    <div id="slideBox" class="slideBox">
        <div class="bd">
            <ul>
                <li><img src="<?=UrlService::buildPicUrl('book',$info['main_image'])?>"/></li>
            </ul>
        </div>
    </div>
</div>
<div class="pro_header">
    <div class="pro_tips">
        <h2><?=$info['name']?></h2>
        <h3><b>¥<?=$info['price']?></b><font>库存量：<?=$info['stock']?></font></h3>
    </div>
    <span class="share_span"><i class="share_icon"></i><b>分享商品</b></span>
</div>
<div class="pro_express">月销量：<?=$info['month_count']?><b>累计评价：<?=$info['comment_count']?></b></div>
<div class="pro_virtue">
    <div class="pro_vlist">
        <b>数量</b>
        <div class="quantity-form">
            <a class="icon_lower"></a>
            <input type="text" name="quantity" class="input_quantity" value="1" readonly="readonly" max="<?=$info['stock']?>"/>
            <a class="icon_plus"></a>
        </div>
    </div>
</div>
<div class="pro_warp">
<?=$info['summary']?>
</div>
<div class="pro_fixed clearfix">
    <a href="<?=UrlService::buildMUrl('/default')?>"><i class="sto_icon"></i><span>首页</span></a>
            <a class="fav" href="javascript:void(0);" data="<?=$info['id']?>"><i class="keep_icon"></i><span>收藏</span></a>
        <input type="button" value="立即订购" class="order_now_btn" data="<?=$info['id']?>"/>
    <input type="button" value="加入购物车" class="add_cart_btn" data="<?=$info['id']?>"/>
    <input type="hidden" name="id" value="4">
</div>
</div>
<div class="copyright clearfix">
	        <p class="name">欢迎您，郭威</p>
	    <p class="copyright">由<a href="/" target="_blank">编程浪子</a>提供技术支持</p>
</div>

</body>
</html>
